package com.xjust.controller.physician;

import com.xjust.pojo.Result;
import com.xjust.service.DisposalRequestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;


@RestController
@RequestMapping("/disposalRequests")
public class DisposalRequestController {
    @Autowired
    DisposalRequestService disposalRequestService;
    //保存处置申请表
    @PostMapping("/saveDisposalRequests")
    public Result saveDisposalRequests(@RequestBody Map<String,Object> disposalRequests){
        disposalRequestService.saveInspectionRequest(disposalRequests);
        return Result.success();
    }
}
